﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataRole_View.aspx.cs" Inherits="SysManage_DataRole_View" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
 <title>数据角色编辑</title>
    <base target ="_self" />
    <link rel="stylesheet" href ="../css/css.css" type="text/css" />
    <!--#include file="../JS/TrimData.js"-->
    <!--#include file="../JS/TDTextBoxControl.js"-->
</head>
<body>
<% 
  Response .ExpiresAbsolute=System.DateTime.Now. AddSeconds(-1);
  Response.Expires=0;
  Response.CacheControl = "no-cache";
%>
<form id="form1" runat="server">   
  <input type="hidden"  id="Item_IDList" runat="server"/>
  <input type="hidden" id="Field_IDList" runat="server"/>
  <input type="hidden" id="PageOrgPersIDCol" runat="server"/>
  <input type="hidden" id="PageOrgPersNameCol" runat="server"/>
  <input type="hidden" id="PageRoleIDCol" runat="server"/>
  <input type="hidden" id="PageRoleNameCol" runat="server"/>
  <input type="hidden" id="PageIDCol" runat="server" />
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr> 
      <td width="15%" valign="top" style="background-image :url(../images/tablelb.gif); height:18px;" class="font13">
        <img height="18" src="../images/tablelbleft.gif" width="18" alt="" /></td>
      <td width="2%" valign="top" style="background-image :url(../images/tablelb.gif); background-color :#ffffff;" class="font13">
        <div align="right"><img height="18" src="../images/tablelbright.gif" width="12" alt="" /></div></td>
      <td colspan="2" valign="middle" bgcolor="#ffffff" class="font13"></td>
    </tr>
    <tr> 
      <td height="26" colspan="2" valign ="middle" style="background-color :#e9ecf5;" class="font13" align ="center" >数据角色编辑</td>
      <td width="80%" height="26" valign="bottom" style="background-image :url(../images/tddi.gif);" class="font13" align ="right"></td>
      <td width="3%" valign="top" style="background-image :url(../images/tddi.gif);" class="font13" align ="right" ><img  src="../images/tddir.gif" alt="" /></td>
    </tr>  
  </table>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color :#e9ecf5; ">
  <tr>
    <td style="height: 21px">
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tablelsdi">
          <tr> 
            <td width="4%" style="background-image :url(../images/tablelb01.gif);"><img src="../images/tablelb01-left.gif" width="21" height="22" alt ="" /></td>
            <td width="82%" style="background-image :url(../images/tablelb01.gif);" class="font12w">数据角色编辑</td>
            <td width="14%" style="background-image :url(../images/tablelb01.gif);"> <div align="right"><img src="../images/tablelb01-right.gif" width="21" height="22" alt ="" /></div></td>
          </tr>
        </table>
    </td>
    </tr>
    <tr>
      <td valign ="top" >
       <table width="95%" border="0" align="center" valign="top" cellpadding="0" cellspacing="0" class="tablelb">
          <tr style ="height :30px;">
            <td style="background-color :#E1EEFD; width :20%;" class="tableleft"  align ="right">角色编码:&nbsp;</td>
            <td style="background-color :#E1EEFD; width :30%;" class="tableleft"><asp:Label id="Role_Code" runat ="server" ForeColor="Blue" ></asp:Label></td>
            <td style="background-color :#E1EEFD; width :20%;" class="tableleft" align ="right" >角色名称:&nbsp;</td>
            <td style="background-color :#E1EEFD; width :30%;" class="tableleft"><asp:Label id="Role_Name" runat ="server" ForeColor="Blue" ></asp:Label></td>
          </tr>   
          <tr style ="height :30px;">  
            <td style="background-color :#ECF4FD;" class="tableleft" align ="right" >角色描述:&nbsp;</td>
            <td style="background-color :#ECF4FD;" class="tableleft"><asp:Label id="Role_Descr" runat ="server" ForeColor="Blue" ></asp:Label></td>
　　　　    <td style="background-color :#ECF4FD;" class="tableleft"  align ="right">功能角色:&nbsp;</td>
　　　　    <td style="background-color :#ECF4FD;" class="tableleft"><asp:Label id="Ctrl_Role" runat ="server" ForeColor="Blue" ></asp:Label></td>
          </tr>
           <tr style ="height :30px;">
            <td style="background-color :#E1EEFD;" class="tableleft" align ="right" >创建人角色:&nbsp;</td>
            <td style="background-color :#E1EEFD;" class="tableleft"><asp:Label id="Creator_Role" runat ="server" ForeColor="Blue" ></asp:Label></td>
　　　　    <td style="background-color :#E1EEFD;" class="tableleft"  align ="right">组织授权:&nbsp;</td>
　　　　    <td style="background-color :#E1EEFD;" class="tableleft"><asp:Label id="DataItemName_List" runat ="server" ForeColor="Blue" ></asp:Label></td>
          </tr>
           <tr style ="height :30px;">
            <td style="background-color :#ECF4FD;" class="tableleft" align ="right" >角色授权:&nbsp;</td>
            <td style="background-color :#ECF4FD;" class="tableleft"><asp:Label id="RoleNameCol" runat ="server" ForeColor="Blue" ></asp:Label></td>
            <td style="background-color :#ECF4FD;" class="tableleft"  align ="right">是否有效:&nbsp;</td>
            <td style="background-color :#ECF4FD;" class="tableleft"><asp:Label id="Effective" runat ="server" ForeColor="Blue" ></asp:Label></td>
          </tr>
      </table>
      </td>
      </tr>
      </table>
      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color :#e9ecf5; ">
         <tr>
           <td align="center"><input type ="button" id="backBtn" value ="返回(c)" accesskey ="c"  class="button02" tabindex ="13" onclick ="window.close();" />         
           </td>
         </tr>
      </table>
          <input type="hidden" id="hcline_Id" runat ="server"  />
          <input type="hidden" id="hidEditType" runat ="server" />
          <input type="hidden" id="Type" runat="server" />
          <input type="hidden" id="HRole_Code" runat="server" />
          <input type="hidden" id="HRole_Name" runat="server" />
          <input type="hidden" id="HCtrl_Role" runat="server" />
          
    </form>
        <script language ="javascript" type="text/javascript" >
    <!--
        var sData = dialogArguments;
        form1.hidEditType.value = sData.stype ;
                 
          var sobj = sData.RoleForm.Hcode.value; 
          var ary=sobj.split('~');
          window.document.all.Role_Code.innerText = trim(ary[0])+" ";
          window.document.all.Role_Name.innerText = trim(ary[1])+" ";
          window.document.all.Role_Descr.innerText = trim(ary[2])+" ";
          window.document.all.Ctrl_Role.innerText = trim(ary[11])+" ";
          window.document.all.Creator_Role.innerText = trim(ary[4])+" ";
          window.document.all.DataItemName_List.innerText = trim(ary[8])+" ";
          window.document.all.RoleNameCol.innerText = trim(ary[10])+" ";
          if(trim(ary[5]) == "1")
          {
            window.document.all.Effective.innerText = "是";
          }
          else
          {
              window.document.all.Effective.innerText = "否";
          }  
//alert(ary);
       -->
  </script>
    
 </body>
</html>
